<template>
  <div id="app">
   <router-view></router-view>
   <!-- <Tabbar v-if="show" id="tabbar"/> -->
  </div>
</template>

<script>
import Tabbar from 'Comp/Tabbar'
export default {
  data(){
    return{
      show:false,
      time:Date.now()
    }
  },
  components:{
    Tabbar,
  },
  methods:{
  },
   watch:{
    $route(){
      const {path} = this.$route;
      if(path == '/goods' || path == '/goods_application' || path == '/goods_history'){
        this.show = true
      }else{
        this.show = false
      }
    }
  },
  mounted(){
  
  },

}


</script>
<style lang="scss" scoped>
  p{
    position: relative;
  }
  #tabbar{
    position:absolute;
    top:598px;
    z-index: 9999;
  }
</style>